package io.renren.modules.personal.dao;

import io.renren.modules.sys.dto.AttentionAndFansDto;
import io.renren.modules.sys.dto.LikeDto2;
import io.renren.modules.forYoung.entity.AttentionAndFans;
import io.renren.modules.sys.entity.UserEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PersonalDao {
    UserEntity getUserAndCount(Map map);

    void saveAttention(Map map);

    int delAttention(Map map);

    AttentionAndFans getEntityByUser(Long userId);

    List getMyAttentionId(Long userId);

    List getFansIdList(Long userId);

    AttentionAndFansDto getFandsEntityByUserId(long userIdd);

    AttentionAndFans isAttention(long userId, long userIdd);

    AttentionAndFans checkIsAttention(Long userId, Long userIdd);

    List getMyFansList(Map map);

    List getMyAttentionList(Map map);

    AttentionAndFans getEntityByUserIdAndFansId(Map map);

    void updateHuxiangguanzhu(Map map);

    void updateHuxiangguanzhuToOne(Map map);

    List getSeachList(Map<String, Object> params);

    int updataMyIntroduction(Map map);

    int getMyCourseCollectionCount(Map map);

    int getMyForYoungCollectuinCount(Map map);

    List getMyCollectionShareList(Map map);

    List<Integer> getForYoungId(Map map);

    String getForYoungImgs(int id);

    List<LikeDto2> getLikeManInfo(Map map);

    int getSchoolIdBySchoolName(Map map);

    void updateSchoolById(Map map);

    List selectSchool();

    List getUsers(@Param("name")byte[] name);

    List getForYoungByUserId(Long userId);

    String getschoolNameById(Map map);

    String getIsAttentin(Map map);
}
